package net.lahuobao.mall.dao.admin;


import net.lahuobao.mall.entity.admin.LhbUser;
import net.lahuobao.mall.entity.admin.MallCardRole;
import net.lahuobao.mall.entity.admin.MallShopCardUseInfo;
import net.lahuobao.mall.entity.admin.MallTransProject;
import net.lahuobao.mall.entity.admin.querymodel.MallProjectEmployeeModel;
import net.lahuobao.mall.entity.admin.querymodel.MallProjectModel;
import net.lahuobao.mall.entity.admin.resultmodel.MallProjectEmployee;

import java.util.List;
import java.util.Map;

public interface MallTransProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MallTransProject record);

    MallTransProject selectByPrimaryKey(Integer id);

    List<MallTransProject> selectAll(MallProjectModel map);
    int selectAllCount(MallProjectModel map);

    int updateByPrimaryKey(MallTransProject record);

    List<MallProjectEmployee> getProjectEmployee(MallProjectEmployeeModel map);
    int getProjectEmployeeCount(MallProjectEmployeeModel map);

    int getProjectCount(Map map);

    List<MallTransProject> getProject(Map map);

    List<LhbUser> getLHBUser(Map map);

    List<MallShopCardUseInfo> getCardNoUseInfo(Map map);
    int getCardNoUseInfoCount(Map map);
    MallCardRole getUserCardRole(String userId);
}